import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Axios from 'axios'
import VueAxios from "vue-axios";
import './mock/index.js'



// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

import Element from 'element-plus'

import 'element-plus/theme-chalk/index.css'



const  app = createApp(App);

app
    .use(store)
    .use(router)
    .use(Element)
    .use(VueAxios,Axios)
    .mount('#app')




for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}